package com.tvpush.manage.core.controller.system;


import com.tvpush.manage.common.controller.QueryController;
import com.tvpush.manage.core.entity.system.SysProvince;
import com.tvpush.manage.core.service.system.SysProvinceService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 省控制器
 * </p>
 *
 * @author ouyangzn
 * @since 2019-03-24
 */
@Api(tags = {"省市联动省控制器"})
@RestController
@RequestMapping("/system/region/province")
public class SysProvinceController implements QueryController<SysProvince, SysProvince, SysProvinceService> {

    @Autowired
    private SysProvinceService provinceService;

    @Override
    public SysProvinceService getService() {
        return provinceService;
    }
}

